export default [
  {
    path: '/home',
    name: '展示',
    url: '',
    locale: 'menu.home',
    key: '/home',
    children: [
      {
        name: '掘金',
        url: 'https://juejin.cn/',
        path: '/juejin',
        key: '/juejin',
      },
      {
        name: '解析',
        url: 'https://www.json.cn/',
        path: '/json',
        key: '/json',
      },
      {
        name: '央视新闻',
        url: 'https://www.cctv.com/',
        path: '/cctv',
        key: '/cctv',
      },
      {
        name: 'antd文档',
        url: 'https://ant.design/components/overview-cn/?theme=compact',
        path: '/antd',
        key: '/antd',
      },
      {
        name: '时间转换',
        url: '',
        path: '/datepicker',
        key: '/datepicker',
      },
    ],
  },
  {
    path: '/workbench',
    key: '/workbench',
    name: '工作台',
    url: '',
    locale: '',
    children: [
      {
        name: '首页',
        component: 'work-center',
        path: '/work-center',
        key: '/work-center',
        isHidden: true,
      },
      {
        name: '基本信息',
        component: 'base-information',
        path: '/base-information',
        key: '/base-information',
        isHidden: true,
      },
      {
        name: '附加页面',
        path: '/additional',
        key: '/additional',
        url: '',
        locale: '',
        children: [
          {
            name: '日历',
            url: '',
            component: '',
            component: 'calendar',
            path: '/calendar',
            key: '/calendar',
          },
        ],
      },
    ],
  },
];
